﻿<UserControl x:Class="EsriMapTest.MainPage"
    xmlns:esri="http://schemas.esri.com/arcgis/client/2009"  
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">

  <!-- WKID="102113" or WKID="102100" -->
  <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"></RowDefinition>
      <RowDefinition Height="*"></RowDefinition>
    </Grid.RowDefinitions>
    <esri:Map x:Name="Esri" Loaded="MapLoaded" Grid.RowSpan="2">
      <esri:Map.Extent>
        <esri:Envelope  XMin="-10000000" XMax="-3000000" YMin="0" YMax="7000000" >
          <esri:Envelope.SpatialReference>
            <esri:SpatialReference WKID="102113" />
          </esri:Envelope.SpatialReference>
        </esri:Envelope>
      </esri:Map.Extent>
    </esri:Map>
    <StackPanel x:Name="Layout" Orientation="Horizontal" Grid.Row="0" Height="25">
      <ToggleButton Content="Animate" ToolTipService.ToolTip="Animates point symbols" Width ="75" Click="ButtonClick" />
    </StackPanel>
  </Grid>
</UserControl>


